<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>放心app</title>
<link href="<?php echo base_url() .'/style/dashboard'?>/css/details.css" rel="stylesheet" />
<link href="<?php echo base_url() .'/style/dashboard'?>/css/common.css" rel="stylesheet" />
<script type="text/javascript" src="<?php echo base_url() .'/style/dashboard'?>/js/index.js"></script>
</head>
<body>
	<div id="top">
		<div class='pos'>
			<div class='user'>
			 	<a href="">登录</a>
				<a href="">注册</a>
			</div>
		</div>	
	</div>
	<!--栏目栏-->
	<?php $this->load->view('dashboard/header.html')?>




	<div id="main">
		<?php foreach($art as $v):?>
		<div class='details'>
			
			<h1><?php echo $v['title']?></h1>
			<div class='info'>
				<div class='base'>
					<em>发表时间：<?php echo date('H:i:s',$v['time'])?></em>, 作者:<span>admin</span>, 分类：<strong><?php echo $v['cname']?></strong>
				</div>
				<div class='tag'>
					标签:
					<a href="">作者</a>,
					<a href="">分类</a>
				</div>
				<div class="infos">
					<em><?php echo $v['info']?></em>
				</div>
			</div>
			<div class='content'>
				<img src="<?php echo base_url('/uploads/').$v['thumb']?>" />
			<?php echo $v['content']?>
				
			</div>
		</div>
		<?php endforeach?>
		<!--加载右边的标题-->
		<?php $this->load->view('dashboard/right.html')?>
	</div>

	<!--加载底部-->
	<?php $this->load->view('dashboard/footer.html')?>
</body>
</html>